
	
/****** Object:  Stored Procedure [dbo].tblInternalRateUpdate    Script Date: Thursday, October 27, 2011 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sptblInternalRateUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sptblInternalRateUpdate]
GO

	
	

	
/******************************************************************************
**		File: 
**		Name: [dbo].sptblInternalRateUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 27/10/2011 17:41:37
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].sptblInternalRateUpdate
	@ID uniqueidentifier, 
	@BuyCCY varchar(3), 
	@FloorRate decimal(10, 2), 
	@SellCCY varchar(3), 
	@CeilingRate decimal(10, 2), 
	@InternalRate decimal(10, 2), 
	@FromFileID uniqueidentifier, 
	@CreatedDate datetime, 
	@CreatedBy varchar(7) 
AS

UPDATE [dbo].[tblInternalRate] SET
	[BuyCCY] = @BuyCCY,
	[FloorRate] = @FloorRate,
	[SellCCY] = @SellCCY,
	[CeilingRate] = @CeilingRate,
	[InternalRate] = @InternalRate,
	[FromFileID] = @FromFileID,
	[CreatedDate] = @CreatedDate,
	[CreatedBy] = @CreatedBy
WHERE
	[ID] = @ID

GO
